package com.celesea.auth.role.dao;

import com.celesea.auth.role.entity.Role;
import com.celesea.auth.role.entity.RoleUser;
import com.celesea.framework.dao.BaseDao;
import com.celesea.framework.vo.DictionaryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleUserDao extends BaseDao<RoleUser> {

    List<DictionaryVo> findByRoleCode(@Param("role") Role role);
}
